package com.suotuo.module.shiro.service.impl;

import com.suotuo.module.shiro.dao.SysMenuDao;
import com.suotuo.module.shiro.entity.SysMenu;
import com.suotuo.module.shiro.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.awt.*;
import java.util.List;

/**
 * @author liulubingjava@163.com
 * @date 2019/1/31 15:05
 */
@Service
public class MenuServiceImpl implements MenuService {
    @Autowired
    private SysMenuDao menuDao;
    /**
     * 获得菜单列表
     *
     * @return
     */
    @Override
    public List<SysMenu> getMenuList() {
        return menuDao.findAll();
    }
}
